package com.example.dddsample.application.assembler.mapper;

import com.example.dddsample.application.api.request.KafkaRequestDTO;
import com.example.dddsample.domain.entity.KafkaAggregate;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
 * @author: bebm
 * @date: 2022/4/6 17:08
 * @description:
 */
@Mapper
public interface KafkaRequestDTOMapper {

    KafkaRequestDTOMapper INST= Mappers.getMapper(KafkaRequestDTOMapper.class);

    @Mappings({})
    KafkaAggregate fromKafkaRequestDTO(KafkaRequestDTO kafkaRequestDTO);
}
